<%@page import="news.entity.Admin"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="judge.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%
	Admin admin=(Admin)session.getAttribute("admin");//得到当前管理员所有信息
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<style type="text/css">
body {
	background-image: url(pic/LeftBgroud.gif);
}

</style>
<link rel="stylesheet" href="../css/css.css" type="text/css"></link></head>

<body leftmargin="0" topmargin="0" >
  <table width="170" height="135" align="center" cellpadding="0" cellspacing="0" background="pic/msg.gif">
    <tr>
      <td width="170" height="64" valign="bottom" background="" class="menu_title">
	      <table width="100%" height="21" border="0" cellpadding="0" cellspacing="0">
	        <tr>
	          <td width="80">&nbsp;</td>
	          <td><a href="index1.jsp" target="_parent"><strong>退出系统</strong></a></td>
	        </tr>
	        
	      </table>
	    </td>
    </tr>
    <tr>
      <td width="170" align="center"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="38%">&nbsp;</td>
          <td width="62%"><span class="red_9">&nbsp;&nbsp;<%=admin.getAdminName() %></span></td>
        </tr>
        <tr>
          <td width="38%">&nbsp;</td>
          <td>&nbsp;<span class="red_9"><%=admin.getAdminFlag()==1?"超级管理员":"管理员" %></span></td>
        </tr>
      </table></td>
    </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="pic/bar.gif" valign="middle"><a href="boardList.jsp" target="main"><strong>主题管理</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="pic/bar.gif" valign="middle"><a href="newsList.jsp" target="main"><strong>新闻管理</strong></a></td>
  </tr>
  </table>
  


</body>
</html>